﻿using LiteBlog.Common.Entities;
using LiteBlog.Components.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LiteBlog.Components.Contracts
{
    public interface IPostComp
    {
        Post Load(string fileId);
        MethodResult Save(Post post);
        DraftPost EditPublished(string fileId);

        bool DeleteAttachment(string fileId, string docid);
    }
}
